<?php
/**
 * Created by PhpStorm.
 * User: tony
 * Date: 2018/6/4
 * Time: 11:20
 */

namespace app\modules\v1\controllers;

use app\modules\v1\controllers\parent\ParentController;
use app\models\Role;

class RoleController extends ParentController
{
    public function actionIndex(){
        return Role::find()->orderBy(['sort' => SORT_DESC])->all();
    }
}